<?php
/**
 * Created by PhpStorm.
 * User: hasee
 * Date: 2018/3/21
 * Time: 13:58
 */
namespace common\widgets\config;

use yii\base\Widget;
use yii\helpers\Html;
use common\models\Registration;

class ConfigWidget extends Widget
{
    public $model;
    public $form;
    public $auth;


    public function run()
    {
        return $this->render($this->auth->view,[
            'model'=>$this->model,
            'form'=>$this->form,
            'auth'=>$this->auth
            ]);
    }
}